package com.logwire.controller;import com.alibaba.fastjson2.JSONObject;import com.logwire.dto.ApiResult;import com.logwire.service.BaseSystemConfigService;import io.swagger.v3.oas.annotations.Operation;import io.swagger.v3.oas.annotations.tags.Tag;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.web.bind.annotation.GetMapping;import org.springframework.web.bind.annotation.RestController;/** * @author yhou * @ProjectName server * @description * @date 2022/11/23 4:13 PM */@Tag(name = "系统配置")@RestControllerpublic class SystemController {	@Autowired	private BaseSystemConfigService baseSystemConfigService;	@Operation(summary = "获取系统配置信息", description = "")	@GetMapping("/system")	public ApiResult<JSONObject> getSystemConfig() {		return ApiResult.success(baseSystemConfigService.getConfig());	}}